home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group96a.txt
/
000179_icon-group-sender _Thu Aug 8 20:53:08 1996.msg
< prev
next >
Wrap
Internet Message Format
|
1996-09-05
|
2KB
Received: by cheltenham.cs.arizona.edu; Mon, 12 Aug 1996 07:46:10 MST
Date: Thu, 8 Aug 1996 20:53:08 -0300 (ADT)
From: DA <k3is@unbsj.ca>
To: "Chris D. Tenaglia" <cdt@post.its.mcw.edu>
Cc: icon-group@cs.arizona.edu
Subject: Re: CGI Tips
In-Reply-To: <Pine.ULT.3.90.960808145431.22371A-100000@post.its.mcw.edu>
Message-Id: <Pine.SOL.3.91.960808204832.24550B-100000@fundy>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Errors-To: icon-group-errors@cs.arizona.edu
Status: O
On Thu, 8 Aug 1996, Chris D. Tenaglia wrote:
> I'm trying a CGI-SCRIPT in icon. I read some information
> but I can't quite get mine to work. I think I'm close, but
> missing some small detail. Here's the scenario...
>
> httphone name=fred
>
> and returns HTML results to stdout. It also logs it's activity
> to a log file. It works interactively. I borrowed and modified
> some other form to send the query. Netscape shows it :
>
> http://www.mcw.edu/~cdt/cgi-bin/httphone?name=fred
>
> and returns one of those 404 messages about URL not found.
> The log file indicates no activity. Am I real close and just
> need a tip? or do I need to dig into a good book or web site
> for the technical details. Thanx in advance!
You have to ask your admin if you are allowed to run CGI scripts, and
s/he will be able to tell you how to call them. By creating a
subdirectory, cgi-bin, under your $HOME/public_html (or the equivalent)
doesn't mean you are ready to run CGI scripts. The server has to be
configured in such a way so that you can call them. Usually, the way to
call a script is: http://domain/cgi-bin/scrip_name
but the file script_name has to be in that directory which you may not
have write permission to.
The best way is to contact your admin and see if you are allowed to run
CGI scripts.
Regards,
Qusay
r to other directories
in your home dir), or is it implict (so that perhaps you
can refer only to things "below" your "www" directory)?
-- jd